<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/12/30
 * Time: 11:34
 */

?>


<?php

header("Content-Type:text/html;charset=utf-8;");

//清空对应的session
session_start();

unset($_SESSION["user_id"]);

//返回结果
echo json_encode(array("code"=>100,"msg"=>"退出成功"),JSON_UNESCAPED_UNICODE);


?>

